package com.rodteixo.Replicador;

import javax.mail.PasswordAuthentication;
import java.awt.*;
import java.awt.image.*;

public class Autenticacao extends javax.mail.Authenticator{

	private String userName;
	private String pw;
	
	public Autenticacao(String user, String password) {
		userName = user;
		pw = password;
	}
	
	public PasswordAuthentication getPasswordAuthentication(){
		return new PasswordAuthentication(userName, pw);
	}
} 